package cn.com.fattiger.framework.cms.config;

import javax.sql.DataSource;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
@Configuration
@ConfigurationProperties(prefix="spring.datasource")
public class PrivateDataSource extends DriverManagerDataSource{

	public PrivateDataSource(){
		super();
	}
	
	public DataSource dataSource(){
		return this;
	}
	
	
}
